<template>
  <div>{{name}}</div>
  
</template>

<script>
import{ref} from 'vue'
export default {
setup(){
    const name =ref('falater')
    const upname = ()=>{
        name.value = 'lisi'
    }

    return{
            name,upname
    }
}
}
</script>

<style>

</style>